package com.oxygen.design.mediator.bean;

import java.util.Date;

/**
 * @author wangjie
 * @title: ChatRoom
 * @description: TODO
 * @date 2022/3/30 21:46
 **/
public class ChatRoom {
    public static void showMessage(User user, String message) {
        System.out.println(new Date().toString()
                + " [" + user.getName() + "] : " + message);
    }
}